/**
 * Project Name:mauto-web
 * File Name:BusinessConstant.java
 * Package Name:com.inftech.mauto.common.constant
 * Date:2016年11月7日上午10:54:01
 * Copyright (c) 2016, inf-technology Co., Ltd. All Rights Reserved.
 *
*/

package com.inftech.mauto.common.constant;

/**
 * ClassName:BusinessConstant <br/>
 * Function: 业务常量. <br/>
 * Date: 2016年11月7日 上午10:54:01 <br/>
 * 
 * @author puyf
 * @version
 * @since JDK 1.7
 */
public interface BusinessConstant {

	/**
	 * 腾讯地图距离url
	 */
	public static final String DISTANCE_URL = "http://apis.map.qq.com/ws/distance/v1/?";

	/**
	 * 百度地图距离url
	 */
	public static final String DISTANCE_URL_BD = "http://api.map.baidu.com/routematrix/v2/driving?";

	/**
	 * 腾讯地图坐标转换url
	 */
	public static final String TRANSLATE_URL = "http://apis.map.qq.com/ws/coord/v1/translate?";

	/**
	 * 腾讯地图开发密钥
	 */
	public static final String MAP_KEY = "QIIBZ-EEX6P-EMCDY-LT7LX-7LJM6-OZBI3";

	/**
	 * 百度地图开发密钥
	 */
	public static final String MAP_KEY_BD = "BaZiva33lyfD2LC9loIt4qCyYEcbPF2N";

	/**
	 * 未评价状态
	 */
	public static final Byte COMMENT_STATUS_OFF = 0;

	/**
	 * 已评价状态
	 */
	public static final Byte COMMENT_STATUS_ON = 1;

	/**
	 * 评价类型-钣金喷漆
	 */
	public static final Byte COMMENT_TYPE_BP = 1;

	/**
	 * 评价类型-在线咨询
	 */
	public static final Byte COMMENT_TYPE_ZX = 2;

	/**
	 * openId对应cookie名称
	 */
	public static final String COOKIE_NAME = "peopleRole";

	/**
	 * 文件对象类型-用户图片
	 */
	public static final Byte FILE_TYPE_PEOPLE_IMG = 1;

	/**
	 * 文件对象类型-车大夫图片
	 */
	public static final Byte FILE_TYPE_CAR_DOCTOR_IMG = 2;

	/**
	 * 文件对象类型-服务单位图片
	 */
	public static final Byte FILE_TYPE_ENTERPRISE_IMG = 3;

	/**
	 * 文件对象类型-车辆品牌图片
	 */
	public static final Byte FILE_TYPE_CAR_BRAND_IMG = 4;

	/**
	 * 文件对象类型-钣喷图片
	 */
	public static final Byte FILE_TYPE_BP_IMG = 5;

	/**
	 * 文件对象类型-客服图片
	 */
	public static final Byte FILE_TYPE_KF_IMG = 6;

	/**
	 * 文件对象类型-二维码图片
	 */
	public static final Byte FILE_TYPE_QRCODE_IMG = 7;

	/**
	 * 热门车辆品牌
	 */
	public static final String HOT_CAR_BRAND = "HOT";

	/**
	 * 车辆品牌
	 */
	public static final String CAR_BRAND = "BRANDS";

	/**
	 * 订单前缀-钣喷
	 */
	public static final String ORDER_SEPARATOR_BP = "BP";

	/**
	 * 保养
	 */
	public static final String ORDER_SEPARATOR_BY = "BY";
	/**
	 * 订单项目类型-钣喷
	 */
	public static final Byte ORDER_ITEM_TYPE_BP = 1;

	/**
	 * 订单项目类型-维保
	 */
	public static final Byte ORDER_ITEM_TYPE_WB = 2;

	/**
	 * 订单状态-待审核
	 */
	public static final int OSINT_DSH = 1;

	/**
	 * 订单状态-待审核
	 */
	public static final String OSSTR_DSH = "000000";

	/**
	 * 订单状态-待确认
	 */
	public static final int OSINT_DQR = 2;

	/**
	 * 订单状态-待确认
	 */
	public static final String OSSTR_DQR = "010000";

	/**
	 * 订单状态-待维修
	 */
	public static final int OSINT_DWX = 3;

	/**
	 * 订单状态-待维修
	 */
	public static final String OSSTR_DWX = "011000";

	/**
	 * 订单状态-待评价
	 */
	public static final int OSINT_DPJ = 4;

	/**
	 * 订单状态-待评价
	 */
	public static final String OSSTR_DPJ = "011010";

	/**
	 * 订单状态-已完成
	 */
	public static final int OSINT_YWC = 5;

	/**
	 * 订单状态-已完成
	 */
	public static final String OSSTR_YWC = "111011";

	/**
	 * 订单状态-已关闭
	 */
	public static final int OSINT_YGB = 6;

	/**
	 * 订单状态-全部
	 */
	public static final int OSINT_ALL = 0;

	/**
	 * 订单状态-已关闭
	 */
	public static final String OSSTR_YGB1 = "200000";

	/**
	 * 订单状态-已关闭
	 */
	public static final String OSSTR_YGB2 = "210000";

	/**
	 * 订单状态-已关闭
	 */
	public static final String OSSTR_YGB3 = "211000";

	/**
	 * 订单前台状态-待处理
	 */
	public static final int OSINT_F_DCL = 20;

	/**
	 * 订单状态-未完成
	 */
	public static final Byte OS_WWC = 0;

	/**
	 * 订单状态-已完成
	 */
	public static final Byte OS_YWC = 1;

	/**
	 * 订单状态-已关闭
	 */
	public static final Byte OS_YGB = 2;

	/**
	 * 订单审核状态-未审核
	 */
	public static final Byte OCS_WSH = 0;

	/**
	 * 订单审核状态-已审核
	 */
	public static final Byte OCS_YSH = 1;

	/**
	 * 订单确认状态-未确认
	 */
	public static final Byte OCS_WQR = 0;

	/**
	 * 订单确认状态-已确认
	 */
	public static final Byte OCS_YQR = 1;

	/**
	 * 订单支付状态-未支付
	 */
	public static final Byte OPS_WZF = 0;

	/**
	 * 订单支付状态-已支付
	 */
	public static final Byte OPS_YZF = 1;

	/**
	 * 订单签收状态-未签收
	 */
	public static final Byte OSS_WQS = 0;

	/**
	 * 订单签收状态-已签收
	 */
	public static final Byte OSS_YQS = 1;

	/**
	 * 订单回访状态-未回访
	 */
	public static final Byte OFS_WHF = 0;

	/**
	 * 订单回访状态-已回访
	 */
	public static final Byte OFS_YHF = 1;

	/**
	 * 订单评价状态-未评价
	 */
	public static final Byte OCS_WPJ = 0;

	/**
	 * 订单评价状态-已评价
	 */
	public static final Byte OCS_YPJ = 1;

	/**
	 * 用户角色：车主
	 */
	public static final Byte PEOPLE_ROLE_C = 1;

	/**
	 * 用户角色：服务单位
	 */
	public static final Byte PEOPLE_ROLE_S = 2;

	/**
	 * 订单动作：新建
	 */
	public static final String ORDER_ACTION_CREATE = "CREATE";

	/**
	 * 订单动作：审核
	 */
	public static final String ORDER_ACTION_CHECK = "CHECK";

	/**
	 * 订单动作：确认
	 */
	public static final String ORDER_ACTION_CONFIRM = "CONFIRM";

	/**
	 * 订单动作：修改
	 */
	public static final String ORDER_ACTION_MODIFY = "MODIFY";

	/**
	 * 订单动作：签收
	 */
	public static final String ORDER_ACTION_SIGN = "SIGN";

	/**
	 * 订单动作：评价
	 */
	public static final String ORDER_ACTION_COMMENT = "COMMENT";

	/**
	 * 订单动作：回访
	 */
	public static final String ORDER_ACTION_FOLLOW = "FOLLOW";

	/**
	 * 订单动作：取消
	 */
	public static final String ORDER_ACTION_CANCEL = "CANCEL";

	/**
	 * 后台取消订单原因key
	 */
	public static final String CANCEL_REASON_KEY = "CANCEL_B_REASON";

	/**
	 * 活动类别-踏青活动
	 */
	public static final Integer ACTIVITY_TQ = 1;
	
	/**
	 * 活动-达标人数
	 */
	public static final Integer ACTIVITY_WIN_NUM = 10;
	
	/**
	 * 活动-礼品份数
	 */
	public static final Integer ACTIVITY_PRIZE_QUOTA = 15;
	
	/**
	 * 中奖状态-未中奖
	 */
	public static final Byte ACTIVITY_NOT_WIN = 0;
	
	/**
	 * 中奖状态-已中奖
	 */
	public static final Byte ACTIVITY_WIN = 1;
	
	/**
	 * 领取状态-未领取
	 */
	public static final Byte ACTIVITY_NOT_GET = 0;
	
	/**
	 * 领取状态-已领取
	 */
	public static final Byte ACTIVITY_GET = 1;

}
